﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Calendar.ascx.cs" Inherits="Web.ctrl.Calendar" %>
<QX:CalendarItem ID="CalendarItem1" runat="server" CssClass="netshow" />
<div class="calendar">
    <QX:DataCalendar ID="cal1" runat="server" Width="100%" DayNameFormat="Full" NextPrevFormat="ShortMonth"
        SelectionMode="Day" DayField="CalendarDate" ShowGridLines="True" CssClass="showdate" ShowTitle="False">
        <OtherMonthDayStyle CssClass="calendar-other" Height="0px" />
        <DayStyle Font-Bold="False" CssClass="calendar-item" Height="124px" VerticalAlign="Top" />
        <DayHeaderStyle />
        <ItemTemplate>
            <div align="left">
                <%-- <a href='CalendarView.aspx?Calendarid=<%# Container.DataItem["Calendarid"].ToString()%>&Date=<%# Container.DataItem["CalendarDate"] %>'><%# Container.DataItem["Title"] %></a>--%>
                <a href='<%#Container.DataItem["Url"] %>'>
                    <%# Container.DataItem["Title"] %></a>
            </div>
        </ItemTemplate>
    </QX:DataCalendar>
</div>
